package org.jeecg.modules.inspect.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 特殊日期
 * @Author: jeecg-boot
 * @Date:   2024-03-10
 * @Version: V1.0
 */
@ApiModel(value="ins_classes_special对象", description="特殊日期")
@Data
@TableName("ins_classes_special")
public class InsClassesSpecial implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private String id;
	/**规则名称*/
	@Excel(name = "规则名称", width = 15)
    @ApiModelProperty(value = "规则名称")
    private String classSpecialName;
	/**部门*/
    @ApiModelProperty(value = "班次表ID")
    private String classId;
	/**执行时间*/
	@Excel(name = "执行时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "执行时间")
    private Date classExecuteTime;
	/**打卡签到起始时间*/
	@Excel(name = "打卡签到起始时间", width = 15)
    @ApiModelProperty(value = "打卡签到起始时间")
    private String classTimePre;
	/**打卡签到结束时间*/
	@Excel(name = "打卡签到结束时间", width = 15)
    @ApiModelProperty(value = "打卡签到结束时间")
    private String classTimeEnd;
	/**巡检次数*/
	@Excel(name = "巡检次数", width = 15)
    @ApiModelProperty(value = "巡检次数")
    private Integer classPollNum;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
}
